package com.taoym.voucher.xcx.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/6/9 12:25
 * @desc
 */
@Data
public class XcxGetMtYouXuanDTO implements Serializable {

    @ApiParam(value = "当前页码")
    @NotNull(message = "当前页码不能为空")
    private Integer pageNO;
    @ApiParam(value = "每页显示的数量")
    @NotNull(message = "每页显示的数量不能为空")
    @Max(value = 50, message = "每页最多显示50条")
    private Integer pageSize;
    @ApiParam(value = "经度")
    @NotBlank(message = "经度不能为空")
    private String longitude;
    @ApiParam(value = "纬度")
    @NotBlank(message = "纬度不能为空")
    private String latitude;
}
